package com.zte.purchase.dao;

import com.zte.purchase.model.BrandCondition;
import com.zte.purchase.model.BrandParam;
import com.zte.purchase.model.CBrand;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;


import java.util.List;

@Mapper
@Repository
public interface IBrandDao {

    boolean addBrand(CBrand cBrand);

    boolean updateBrand(CBrand cBrand);

    CBrand findOneBrand(String brandId);

    List<CBrand> queryBrandByCondition(BrandCondition conn);

    List<BrandParam> queryBrandNameList();

}
